The intensity of gravity, g, is not a true constant, as it changes with altitude. In the following visual you can verify how its value varies at very different points, even inside the planet.

 
The visual in context

Licencia de Creative Commons
Except where otherwise noted, this work is licensed under a Creative Common License